package com.hspedu.mhl.domain;

public class Companions {
    //    id INT PRIMARY KEY AUTO_INCREMENT,
//    NAME VARCHAR(50) not NULL DEFAULT '',
//    TYPE VARCHAR(50) not NULL DEFAULT '',
//    price DOUBLE not NULL DEFAULT 0
    private Integer id;
    private String NAME;
    private String TYPE;
    private String price;

    public Companions(Integer id, String NAME, String TYPE, String price) {
        this.id = id;
        this.NAME = NAME;
        this.TYPE = TYPE;
        this.price = price;
    }

    public Companions() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getTYPE() {
        return TYPE;
    }

    public void setTYPE(String TYPE) {
        this.TYPE = TYPE;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Companions{" +
                "id=" + id +
                ", NAME='" + NAME + '\'' +
                ", TYPE='" + TYPE + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}
